import { observable, action } from "mobx";

export default class FilterStore {
    @observable filterMap = {};
    @observable isInit = false;
    @observable filterVisible = false;
    @action init = (columns) => {
        console.log(columns);
    }
    @action toggleVisible = (visible = !this.filterVisible) => {
        this.filterVisible = visible;
    }
    @action changeValue =(value, key)=>{
        this.filterMap[key] = value;
    }
}